

class Slow:
    etype = 'slow'
    length = 5.0
    def __init__(self,creep):
        self.creep = creep
        self.oldspeed = self.creep.speed
        self.creep.speed = self.oldspeed / 2.0
        self.time = 0
    def tick(self):
        self.time +=1
    def remove(self):
        self.creep.speed = self.oldspeed
        
class Burn:
    etype = 'burn'
    length = 10.0
    def __init__(self,creep):
        self.creep = creep
        self.time = 0
    def tick(self):
        self.creep.shot(0.25)
        self.time +=1
    def remove(self):
        pass
            